<?php	$atr=array(
					"name"=>"time",
					"onsubmit"=>"return checkTime()"
				  ); 
	echo form_open('payRoll/edit1',$atr);
	$bar="Edit Salary "; 
?> 
 
<table border="1" class="tablebg" cellspacing="1" align="right" border="1" width="900px">
	<tr>
		<td colspan=5 align=right class=bar><?php echo $bar;?></td>
	</tr>	
	<tr>
		<td>Salary_ID</td>
		<td><input type="text" name="Salary_ID" readonly="readonly" value=<?php echo $result->Salary_ID; ?>> </td>	
		<td>E_SI</td>
		<td><input type="text" name="E_SI" readonly="readonly" value="<?php echo $result->E_SI; ?>"> </td>
	</tr>
	<tr>
		
		<td>Staff_ID</td>
		<td><input type="text" name="Staff_ID" readonly="readonly" value=<?php echo $result->Staff_ID; ?>> </td> 
		<td>E_HI</td>
		<td><input type="text" name="E_HI" readonly="readonly" value=<?php echo $result->E_HI; ?>> </td>
	
		
	</tr>
	<tr>
		<td>Fullname</td>
		<td><input type="text" name="FullName"  value="<?php echo $result->FullName; ?>" > </td>
		<td>E_UI</td>
		<td><input type="text" name="E_Ui" readonly="readonly" value=<?php echo $result->E_UI; ?>> </td>	   
	
		
	</tr>
	<tr>
		<td>FromDate</td>
		<td><input type="text" name="FromDate" readonly="readonly" value=<?php echo $result->FromDate; ?> id="Date" onclick="loadCalendar(this.id);"> </td>
		<td>E_SHU</td>
		<td><input type="text" name="E_SHU" readonly="readonly" value=<?php echo $result->E_SHU; ?>> </td>	
		   
	</tr>
	<tr>
		<td>ToDate</td>
		<td><input type="text" name="ToDate" readonly="readonly" value=<?php echo $result->ToDate; ?> id="Date1" onclick="loadCalendar(this.id);"> </td>
		<td>C_SI</td>
		<td><input type="text" name="C_SI" readonly="readonly" value=<?php echo $result->C_SI; ?>> </td>	   
	
		   
	</tr>
	<tr>
		<td>BasicSalary</td>
		<td><input type="text" name="BasicSalary" readonly="readonly" value=<?php echo $result->BasicSalary; ?>> </td>
		<td>C_HI</td>
		<td><input type="text" name="C_HI" readonly="readonly" value=<?php echo $result->C_HI; ?>> </td>  
	
				  
	</tr>
	<tr>
		<td>ActSalary</td>
		<td><input type="text" name="ActSalary"  value=<?php echo $result->ActSalary; ?>> </td>  
		<td>C_UI</td>
		<td><input type="text" name="C_UI"  value=<?php echo $result->C_UI; ?> > </td>
				  
	</tr>
	<tr>
		<td>WorkingDay</td>
		<td><input type="text" name="WorkingDay" readonly="readonly" value=<?php echo $result->WorkingDay; ?>> </td>
		<td>C_SHU</td>
		<td><input type="text" name="C_SHU" readonly="readonly" value=<?php echo $result->C_SHU; ?> > </td>		
	</tr>
	<tr>
		<td> PIT </td>
		<td> <input type="text" name="PIT"  value="<?php echo $result->PIT;?>"  onkeyup="this.value=add_commas(this.value);" /> </td>		   
		<td>None Tax</td>
		<td><input type="text" name="NoneTax"  value=<?php echo $result->NoneTax; ?>  onkeyup="this.value=add_commas(this.value);" > </td>		
	</tr>	
	<tr>
		<td>TotalAllowance</td>
		<td><input type="text" name="TotalAllowance"  value=<?php echo $result->TotalAllowance; ?>  onkeyup="this.value=add_commas(this.value);" > </td>
		<td> PreTax </td>
		<td><input type="text" name="PreTax" value="<?php echo $result->PreTax;?>" onkeyup="this.value=add_commas(this.value);" />  </td>
	</tr>		
	<tr>	
		<td>PerformanceBonus</td>
		<td><input type="text" name="PerformanceBonus" value="<?php echo $result->PerformanceBonus; ?>" onkeyup="this.value=add_commas(this.value);" > </td>
		<td>PaySalary</td>
		<td><input type="text" name="PaySalary" value="<?php echo $result->PaySalary; ?>" onkeyup="this.value=add_commas(this.value);" > </td>
	</tr>
	<tr>	
		<td>ComDeduction</td>
		<td><input type="text" name="ComDeduction" value="<?php echo $result->ComDeduction; ?>" onkeyup="this.value=add_commas(this.value);" > </td>
	
		<td>Total</td>
		<td><input type="text" name="Total" value="<?php echo $result->Total; ?>" onkeyup="this.value=add_commas(this.value);" > </td>
	</tr>		
	<tr>
		<td colspan="4" align="center"><input type="submit" value="edit"/></td>
	</tr>	
</table>	
<?php form_close();?>




